package com.zretc.service.impl;

import java.util.List;
import java.util.Map;

import com.zretc.dao.StatisticsDao;
import com.zretc.dao.impl.StatisticsDaoImpl;
import com.zretc.service.StatisticsService;

public class StatisticsServiceImpl implements StatisticsService {
	
	private StatisticsDao statisticsDao = new StatisticsDaoImpl();

	@Override
	public List<Map<String, Object>> getEveryRegionTotalIncome() {
		List<Map<String, Object>> findEveryRegionTotalIncome = statisticsDao.findEveryRegionTotalIncome();
		return findEveryRegionTotalIncome;
	}

	@Override
	public List<Map<String, Object>> getEveryStyleTotalIncome() {
		List<Map<String, Object>> findEveryStyleTotalIncome = statisticsDao.findEveryStyleTotalIncome();
		return findEveryStyleTotalIncome;
	}

}
